From: Florian Müllner Date: Sat, 23 Mar 2013 08:29:34 +0000 (+0100) Subject: dateMenu: Re-add special-casing of evolution-calendar X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4407 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=390491b37a75a89cafeb73b37f3803fb40fcde49;p=gnome-shell.git dateMenu: Re-add special-casing of evolution-calendar When commit 724a2bd7 changed the way to determine the default calendar app, it dropped all special handling of evolution. Unfortunately we still need it to not end up with the default mail component, so add it back. https://bugzilla.gnome.org/show_bug.cgi?id=696432 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index abd7da4f2..acb041891 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -221,6 +221,8 @@ const DateMenuButton = new Lang.Class({ this.menu.close(); let app = Gio.AppInfo.get_default_for_type('text/calendar', false); + if (app.get_id() == 'evolution') + app = Gio.DesktopAppInfo.new('evolution-calendar'); app.launch([], global.create_app_launch_context()); },